package cn.iocoder.yudao.module.dine.category.pojo.vo;

import cn.iocoder.yudao.framework.business.basic.annotation.AdminJsonView;
import cn.iocoder.yudao.framework.business.basic.annotation.AppJsonView;
import cn.iocoder.yudao.framework.business.basic.pojo.vo.MerchantScopeVO;
import com.fasterxml.jackson.annotation.JsonView;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 视图对象
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/07/18
 */
@Data
public class DineCategoryVO extends MerchantScopeVO {

    @Schema(description = "分类名称")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private String name;

    @Schema(description = "排序，越小越靠前")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private Integer sort;

    @Schema(description = "开关")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private Boolean enabled;

}
